export default function zffs(data) {

	const cdtype = [{
			label: '免费',
			value: '0',
			icon: 'icon-saoma1'
		},
		{
			label: '电量计费',
			value: '1',
			icon: 'icon-saoma1'
		},
		{
			label: '固定计费',
			value: '2',
			icon: 'icon-saoma1'
		},
		{
			label: '电量计费刷卡用户',
			value: '3',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '固定计费刷卡用户',
			value: '4',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '阶梯计费',
			value: '5',
			icon: 'icon-saoma1'
		},
		{
			label: '次卡刷卡',
			value: '6',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '阶梯计费刷卡用户',
			value: '7',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '起步计费',
			value: '8',
			icon: 'icon-saoma1'
		},
		{
			label: '起步计费刷卡用户',
			value: '9',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '按小时收费',
			value: '10',
			icon: 'icon-saoma1'
		},
		{
			label: '按小时收费刷卡用户',
			value: '11',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '按小时阶梯收费',
			value: '12',
			icon: 'icon-saoma1'
		},
		{
			label: '按小时阶梯收费刷卡用户',
			value: '13',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '小时退费模式',
			value: '14',
			icon: 'icon-saoma1'
		},
		{
			label: '小时退费模式刷卡用户',
			value: '15',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '阶梯退费模式',
			value: '16',
			icon: 'icon-saoma1'
		},
		{
			label: '阶梯退费模式刷卡用户',
			value: '17',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '阶梯金额模式',
			value: '18',
			icon: 'icon-saoma1'
		},
		{
			label: '阶梯金额模式刷卡用户',
			value: '19',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '用户购买优惠包月模式',
			value: '20',
			icon: 'icon-saoma1'
		},
		{
			label: '用户购买优惠包年模式',
			value: '21',
			icon: 'icon-saoma1'
		},
		{
			label: '服务费计费用户',
			value: '22',
			icon: 'icon-saoma1'
		},
		{
			label: '服务费计费刷卡',
			value: '23',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '投币用户',
			value: '24',
			icon: 'icon-yiyuanqitou'
		},
		{
			label: '云闪付',
			value: '26',
			icon: 'icon-yunshanfu'
		},
		{
			label: '时间月卡支付',
			value: '27',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '离线模式充电',
			value: '28',
			icon: 'icon-saoma1'
		},
		{
			label: '充电桩租置模式',
			value: '29',
			icon: 'icon-saoma1'
		},
		{
			label: '充电桩租置模式卡支付',
			value: '30',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '汽车桩电量包模式',
			value: '31',
			icon: 'icon-saoma1'
		},
		{
			label: '汽车桩电量模式刷卡',
			value: '32',
			icon: 'icon-SKJYJCTJ'
		},
		{
			label: '电量包计费',
			value: '33',
			icon: 'icon-saoma1'
		},
		{
			label: '带道闸阶梯电量模式',
			value: '34',
			icon: 'icon-saoma1'
		},
	]

	const dqcdtype = cdtype.find(
		(e) => e.value == data.type
	)
	if (dqcdtype.icon == 'icon-SKJYJCTJ') {
		return "刷卡支付"
	}
	const reg = /^\d+$/
	const isnum = reg.test(data.uUser)
	return isnum ? '支付宝支付' : '微信支付'
}